<?php 
namespace Admin\Controller;
use Think\Controller;
class ManageController extends BaseController{
		function manage(){
			$adminOb=M('Auth_rule');
			$arr=$adminOb->select();
			$this->assign('arr',$arr);
			$this->display();
		}
		function check(){
			$manageOb=M('Auth_rule');
			$re=$manageOb->data($_POST)->add();
			if ($re) {
				$this->ajaxReturn(1);
			}else{
				$this->ajaxReturn(0);
			}
		}
}